<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<%
request.setCharacterEncoding("UTF-8");
%>

<body>
<form name="memberlist" method="get">
<table border="1" width="1000">
	<tr align="center">
		<td>기업번호</td><td>기업이름</td><td>기업아이디</td>
		<td>기업비밀번호</td><td>기업전화번호</td>
		<td>지역</td><td>지역2</td><td>주소</td><td>카테고리</td>
		<td>시간</td><td>가격</td><td>주차</td><td>쉬는날</td><td>explanation</td>
		<td>이미지</td><td>map</td>
	
	</tr>
	
	<c:forEach items="${tastelist }" var="tastedto">
	<c:if test=""></c:if>
	<tr>
		<td>${tastedto.food_num }</td>
		<td>${tastedto.food_name }</td>
		<td>${tastedto.food_id }</td>
		<td>${tastedto.food_pw }</td>
		<td>${tastedto.food_tel }</td>
		<td>${tastedto.food_area1 }</td>
		<td>${tastedto.food_area2 }</td>		
		<td>${tastedto.food_addr }</td>
		<td>${tastedto.food_category};</td>
		<td>${tastedto.food_time }</td>
		<td>${tastedto.food_price }</td>
		<td>${tastedto.food_park }</td>
		<td>${tastedto.food_holiday }</td>
		<td>${tastedto.food_explanation }</td>
		<td>${tastedto.food_image }</td>
		<td>${tastedto.food_map  }</td>
		<td align="center"><input type="button" value="삭제" onclick="location.href='admindel?num=${tastedto.food_num}'">

		</td>
	</tr>
	</c:forEach> 
	
</table>
</form>
</body>
</html>